﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Org_Type_Edit.aspx.cs" Inherits="SysManage_Org_Type_Edit" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
 <title>组织类别编辑</title>
    <base target ="_self" />
    <link rel="stylesheet" href ="../css/css.css" type="text/css" />
    <!--#include file="../JS/KeyControlCode.js"-->
    <!--#include file="../JS/TrimData.js"--> 
    <!--#include file="../JS/TDTextBoxControl.js"-->
    <!--#include file="../JS/MyKeyCode.js"-->
</head>
<body  style =" background-image :url('../images/hit_bg.gif');">
<% 
  Response .ExpiresAbsolute=System.DateTime.Now. AddSeconds(-1);
  Response.Expires=0;
  Response.CacheControl = "no-cache";
%>
    <form id="form1" method ="post" runat="server">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="15%" height="18" valign="top" background="../images/tablelb.gif" class="font13"> 
      <div align="left"><img height="18" src="../images/tablelbleft.gif" width="18" alt ="" /></div></td>
    <td width="2%" valign="top" background="../images/tablelb.gif" bgcolor="#ffffff" class="font13"> 
      <div align="right"><img height="18" src="../images/tablelbright.gif" width="12" alt ="" /></div></td>
    <td colspan="2" align="center" bgcolor="#ffffff" class="font13"> <div align="right"> 
      </div></td>
  </tr>
  <tr> 
    <td height="26" colspan="2" align="center" bgcolor="#e9ecf5" class="font13"> 
      <div align="center">组织类别管理</div></td>
    <td width="80%" height="26" valign="bottom" background="../images/tddi.gif" class="font13"> 
      <div align="right"> </div></td>
    <td width="3%" valign="top" background="../images/tddi.gif" class="font13"> 
      <div align="right"><img height="26" src="../images/tddir.gif" alt ="" /></div></td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#e9ecf5">
  <tr> 
    <td height="89"  valign="top"> 
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tablelsdi">
          <tr> 
            <td width="4%" background="../images/tablelb01.gif"><img src="../images/tablelb01-left.gif" width="21" height="22" alt ="" /></td>
            <td width="82%" background="../images/tablelb01.gif" class="font12w">组织类别编辑</td>
            <td width="14%" background="../images/tablelb01.gif"> <div align="right"><img src="../images/tablelb01-right.gif" width="21" height="22" alt ="" /></div></td>
          </tr>
        </table>
        <input type="hidden" id="PCount" />
          <input type="hidden" id="BCount" />
          <input type="hidden" id="OrRoleCode" runat ="server" />
          <input type="hidden" id="OrRoleName" runat ="server" />
          <input type="hidden" id="hidPageIDList" runat ="server"  />
          <input type="hidden" id="hidBtnIDList" runat ="server"  />
          <input type="hidden" id="hidEditType" runat ="server" />
          <input type="hidden" id="HPostName" runat ="server" />
    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tablelb">
      <tr>
        <td style ="width :15%;" bgcolor="#E1EEFD" class="tableleft" align ="right" >编码&nbsp;</td>
        <td style ="width :35%;" bgcolor="#E1EEFD" class="tableleft"><asp:TextBox ID="OrgType" runat ="server" Width="100px" TabIndex ="1" MaxLength ="20" onkeyup="JudgeIsNum(this)"></asp:TextBox><asp:Label ID="tishi1" runat ="server" Text ="*" ForeColor="Red"></asp:Label></td>
        <td style ="width :15%;" bgcolor="#E1EEFD" class="tableleft"  align ="right">名称&nbsp;</td>
        <td style ="width :35%;" bgcolor="#E1EEFD" class="tableleft"><asp:TextBox ID="OrgName" onkeydown="RestrictCharacter(this)" runat ="server" Width="100px" TabIndex ="2" MaxLength ="20"></asp:TextBox><asp:Label ID="Label10" runat ="server" Text ="*" ForeColor="Red"></asp:Label></td>
      </tr>
      <tr> 
        <td bgcolor="#E1EEFD" class="tableleft" align ="right">排序&nbsp;
        </td>
        <td bgcolor="#E1EEFD" class="tableleft"><asp:TextBox ID="Dorder" runat ="server" TabIndex ="3" Width="100px" MaxLength ="4"  onkeyup="JudgeIsNum(this)" ></asp:TextBox></td>
        <td bgcolor="#E1EEFD" class="tableleft"  align ="right">是否有效&nbsp;</td>
        <td bgcolor="#E1EEFD" class="tableleft">
           <asp:dropdownlist id="Effective" tabIndex="4" runat="server" Enabled="true" Width="60px">
			 <asp:ListItem Value="1" Selected ="true" >是</asp:ListItem>
			 <asp:ListItem Value="0">否</asp:ListItem>
		  </asp:dropdownlist></td>
      </tr>
      </table>
      </td>
      </tr>
      </table> 
      <table  width="95%" border="0" cellpadding="5" cellspacing="0" align="center" >
      <tr>
        <td align ="center" >            
            <input id="GrantBtn1" type="submit" runat ="server"  class="button03" value ="提交(S)" accesskey ="s" onserverclick="GrantBtn1_ServerClick" /> &nbsp;&nbsp;
            <input type ="button" id="backBtn" value ="返回(C)" accesskey ="c" class="button03" onclick ="window.close();" /></td>
      </tr>
    </table>    
    <input type ="hidden" id="HID" runat ="server" />
    <input type ="hidden" id="HOrgType" runat ="server" />
    <input type ="hidden" id="HOrgName" runat ="server" />
    <input type ="hidden" id="HOrder" runat ="server" />
    </form>
    <script language ="javascript" type="text/javascript" >
    <!--
      var sData = dialogArguments;
      form1.hidEditType.value = sData.stype ;
      if(sData.stype == "2")  // 2 修改 1 新建
      {
        window.document.all.OrgType.disabled=true;
        window.document.all.tishi1.style.display= "none";
        var sobj = sData.RoleForm.Hcode.value;
        var ary=sobj.split('|'); 
        form1.HID.value = trim(ary[0]);
        form1.OrgType.value = trim(ary[1]);
        form1.HOrgType.value = trim(ary[1]);
        form1.OrgName.value = trim(ary[2]);
        form1.HOrgName.value = trim(ary[2]);
        form1.Dorder.value = trim(ary[3]);
        form1.HOrder.value = trim(ary[3]);
        form1.Effective.value = trim(ary[4]);
      }     
    -->
    </script>
</body>
</html>

